﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace CoreShop.Model
{
    /// <summary>
    /// 打印格式模板
    /// </summary>
    public partial class corecmsprintbilltemplate
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public Int32 id { get; set; }

        /// <summary>
        /// 打印类型（不同的类型只能选择相对应的打印格式）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "billtypeId", IsNullable = true)]
        public Int32 billtypeId { get; set; }

        /// <summary>
        /// 打印方式（0与下单一至,1.一菜单，2、一数量一单，3商品汇总打印）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodPrintType")]
        public Int32 foodPrintType { get; set; }

        /// <summary>
        /// 纸张宽度(0、58CM，1、75CM,2、80CM)
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "paperType", IsNullable = true)]
        public Int32 paperType { get; set; } = 2;

        /// <summary>
        /// 打印格式名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "name", IsNullable = true)]
        public String name { get; set; }

        /// <summary>
        /// 模板内容
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "content", IsNullable = true)]
        public String content { get; set; }

        /// <summary>
        /// 驱动打印文件
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "reportFile", IsNullable = true)]
        public String reportFile { get; set; }

        /// <summary>
        /// 报表文件内容
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "reportData", IsNullable = true)]
        public String reportData { get; set; }

        /// <summary>
        /// 做法标识
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "taskSign", IsNullable = true)]
        public String taskSign { get; set; }
    }
}
